//
//  News.m
//  MyMovie
//
//  Created by apple on 16/5/13.
//  Copyright © 2016年 ljp. All rights reserved.
//

#import "News.h"

@implementation News

- (instancetype)initWithDictionary:(NSDictionary *)dic {

    self = [super init];

    if (self) {

        self.title = dic[@"title"];
        self.summary = dic[@"summary"];
        self.imageName = dic[@"image"];
        self.type = [dic[@"type"] intValue];
    }
    return self;

}


@end
